package cn.whuc.test

class Demo02 {
  val a = 10
  def +(x:Int)={
    this.a -x
  }

}
object test1{
  def main(args: Array[String]): Unit = {
    val demo = new Demo02()
    val i: Int = demo.+(5)
    println(i)
  }
}
